package chianghao.springboot.start.auth.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "chianghao.auth", ignoreUnknownFields = true)
public class AuthProperties {

	/**
	 * token 失效时间
	 */
	private long tokenOutTime=30*60*1000L;
	
	
	private String authContentTypeName="Authorization";
	
	
	private String urlPatterns="/*";
	
	
	
	public String getUrlPatterns() {
		return urlPatterns;
	}
	
	public void setUrlPatterns(String urlPatterns) {
		this.urlPatterns = urlPatterns;
	}
	
	public long getTokenOutTime() {
		return tokenOutTime;
	}
	
	public void setTokenOutTime(long tokenOutTime) {
		this.tokenOutTime = tokenOutTime;
	}
	
	public String getAuthContentTypeName() {
		return authContentTypeName;
	}
	
	public void setAuthContentTypeName(String authContentTypeName) {
		this.authContentTypeName = authContentTypeName;
	}
	
	
}
